package com.ruoyi.base.domain;

import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 设备类型对象 base_type
 *
 * @author yepanpan
 * @date 2025-03-03
 */
@Data
public class BaseType extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;

    /** 类型代码 */
    @Excel(name = "类型代码")
    @NotNull
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    @NotNull
    private String name;

    /** 简称 */
    @Excel(name = "简称")
    private String shortName;

    /** 子系统 */
    @Excel(name = "子系统")
    private String sysName;
    private Long sysId;

    /** 技术分类 */
    @Excel(name = "技术分类", dictType="device_teach_type", comboReadDict=true)
    private String techType;

    /** 是否为叶子节点（Y是 N否） */
    @Excel(name = "是否为叶子节点", dictType="sys_yes_no", comboReadDict=true)
    @NotNull
    private String isLeaf;


}
